Auto merge of #3050 - nbaksalyar:configure-fix, r=alexcrichton
authorbors <bors@rust-lang.org>
Sun, 28 Aug 2016 19:02:39 +0000 (12:02 -0700)
committerGitHub <noreply@github.com>
Sun, 28 Aug 2016 19:02:39 +0000 (12:02 -0700)
commitc7ffb3e44b8f8e2ea07377dfc9180e971853993d
tree18a48465b9458578901bbda6afb7b43e29958f9d
parenteff0a95c7e148dfce6e06c0c7867ce2328310967
parent1e38c58fcf2ff6cb93d45effbbdecbeaf7664aab
Auto merge of #3050 - nbaksalyar:configure-fix, r=alexcrichton

Fix POSIX shell in configure script (support Illumos & Solaris)

This patch provides the same fix that is applied for the `configure` script in rustc:
https://github.com/rust-lang/rust/blob/master/configure#L3-L9. It is required because `#!/bin/sh` is not Bash/POSIX-compatible on Solaris and its derivatives by default.

This change was previously discussed there: https://github.com/rust-lang/rust/pull/28589.